home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
unix
/
ch13
/
13fig16.wrl
< prev
next >
Wrap
Text File
|
1996-09-22
|
2KB
|
56 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright [1997] By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
children [
# Center vaulted ceiling
DEF Ceiling Transform {
translation 0.0 2.0 0.0
children [
DEF Vault Inline {
url "vault.wrl"
},
Transform { rotation 0.0 1.0 0.0 1.57
children USE Vault
},
Transform { rotation 0.0 1.0 0.0 3.14
children USE Vault
},
Transform { rotation 0.0 1.0 0.0 -1.57
children USE Vault
}
]
},
# Left, right, front, and back vaulted ceilings
Transform { translation -2.0 0.0 0.0 children USE Ceiling },
Transform { translation 2.0 0.0 0.0 children USE Ceiling },
Transform { translation 0.0 0.0 -2.0 children USE Ceiling },
Transform { translation 0.0 0.0 2.0 children USE Ceiling },
# Columns supporting the vaulted ceilings
Transform {
translation -3.0 1.0 -1.0
children DEF Column Shape {
appearance Appearance {
material Material { }
}
geometry Cylinder {
height 2.0
radius 0.05
}
}
},
Transform { translation -1.0 1.0 -1.0 children USE Column },
Transform { translation 1.0 1.0 -1.0 children USE Column },
Transform { translation 3.0 1.0 -1.0 children USE Column },
Transform { translation -3.0 1.0 1.0 children USE Column },
Transform { translation -1.0 1.0 1.0 children USE Column },
Transform { translation 1.0 1.0 1.0 children USE Column },
Transform { translation 3.0 1.0 1.0 children USE Column },
Transform { translation -1.0 1.0 -3.0 children USE Column },
Transform { translation -1.0 1.0 3.0 children USE Column },
Transform { translation 1.0 1.0 -3.0 children USE Column },
Transform { translation 1.0 1.0 3.0 children USE Column }
]
}